<template>
  <div>
    <span class="titles">当地推荐</span>
    <div class="recomm">
      <div class="left">
        <div class="urlImg">
          <img src="@/assets/img/train/jiudian.png" alt="加载" />
        </div>
        <div class="describe">
          <span>预约酒店</span>
          <span>10-13住1晚10-14离开</span>
        </div>
      </div>
      <div class="right">
        <van-button type="danger">查询</van-button>
      </div>
    </div>
    <div class="recomm">
      <div class="left">
        <div class="urlImg">
          <img src="@/assets/img/train/huoche.png" alt="加载" />
        </div>
        <div class="describe">
          <span>接送火车</span>
          <span>一件包价</span>
        </div>
      </div>
      <div class="right">
        <van-button type="danger">查询</van-button>
      </div>
    </div>
  </div>
</template>
<script>
import { Button } from "vant";
export default {
  setup() {
    return {};
  },
  components: {
    [Button.name]: Button,
  },
};
</script>
<style lang="less" scoped>
.titles {
  font-size: 22px;
  font-weight: 700;
  color: rgb(87, 84, 84);
}
.recomm {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
  > .left {
    display: flex;
    //照片位置
    .urlImg {
      width: 120px;
      height: 80px;
      background-color: antiquewhite;
      > img {
        width: 120px;
        height: 80px;
      }
    }
    .describe {
      span {
        margin: 10px 0;
        margin-left: 10px;
      }
      > span:nth-of-type(1) {
        display: block;
        font-size: 22px;
        font-weight: 600;
      }
      > span:nth-of-type(2) {
        display: block;
        font-size: 14px;
        color: #999;
      }
    }
  }
  > .right {
    margin-bottom: 10px;
    .van-button {
      width: 70px;
      height: 30px;
      border-radius: 10px;
    }
  }
}
</style>
